package com.kaili.basic.service.impl;

/**
 * Created by xxx on 2019-03-07.
 */

import com.kaili.basic.mapper.HomeNoticeMapper;
import com.kaili.basic.pojo.entity.HomeNotice;
import com.kaili.basic.service.HomeNoticeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author xxx
 * @Copyright: Copyright (c) 2017
 * @Company: 杭州凯立通信有限公司
 */
@Service
@Transactional
public class HomeNoticeServiceImpl implements HomeNoticeService {
    @Autowired
    HomeNoticeMapper homeNoticeMapper;

    @Override
    public HomeNotice queryHomeNotice() {
        return homeNoticeMapper.queryHomeNotice();
    }
}
